package com.niit;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

/**
 * @Author： 曾渝晋
 * @date: 2021/6/16 1:07 上午
 * @description:
 * @modified:
 * @Version: 1.0
 */
@SpringBootApplication
@EnableEurekaClient
@EnableFeignClients(basePackages = {"com.niit"}) //服务降级
@ComponentScan("com.niit") //扫描com.niit
public class StudentConsumer8001Application {

    public static void main(String[] args) {
        SpringApplication.run(StudentConsumer8001Application.class,args);
    }
}
